package com.dsr.service;

import com.dsr.consts.Result;
import com.dsr.entity.Manager;

/**
 * (Manager)表服务接口
 *
 * @author dsr
 * @since 2020-08-25
 */
public interface ManagerService {

    Result getEntity(String id);

    Result save(Manager manager);

    Result update(Manager manager);

    Result delete(String id);

    Result query(int page, int size, Manager manager);

    Result list();

    Result login(String userName, String password);
}